package com.ynny.spring;

public class User {
    private String id;
    private String number;
    private String passworld;


    // 添加构造方法
    public User() {
    }

    public User(String id, String number, String passworld) {
        this.id = id;
        this.number = number;
        this.passworld = passworld;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getPassworld() {
        return passworld;
    }

    public void setPassworld(String passworld) {
        this.passworld = passworld;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", number='" + number + '\'' +
                ", passworld='" + passworld + '\'' +
                '}';
    }
}
